package com.gao.api.gate.quick.proto.http;

/**
 * <p></p>
 *
 * @author gaoshuangwen
 * @since 2022/01/11 14:44
 */
public enum HttpMethod {
    get("GET"),
    post("POST"),
    delete("DELETE"),
    put("PUT"),
    OPTIONS("OPTIONS"),
    HEAD("HEAD"),
    PATCH("PATCH"),
    DELETE("DELETE"),
    TRACE("TRACE"),
    CONNECT("CONNECT");

    private final String val;

    private HttpMethod(String val) {
        this.val = val;
    }

    public String getMethod() {
        return this.val;
    }
}
